#ifndef _DEFS_H
#define _DEFS_H

#define RED 0
#define GREEN 1
#define BLUE 2

#define WHITE 255

#define X 0
#define Y 1
#define Z 2

#define PI 3.14159265358979323846

#define STEP 10

#define MAXSTRING 256

#define NUM_CNTL_POINTS 4
#define MAX_POINTS 100
#define SEGMENTS MAX_POINTS - 1
#define WIDTH 600
#define HEIGHT 600
#define PVIEWH 100			// poly line view window height
#define X_OFFSET 50
#define Y_OFFSET 50

#define lens_distance -1000
#define CAM_X (WIDTH/2) 
#define CAM_Y (HEIGHT-PVIEWH)/2 
#define CAM_Z -lens_distance
#define FRONT_CLIP 100
#define BACK_CLIP 10000

#define ROT_ANGLE 2*PI/72
#define NUM_ROTATE 72
#define NUM_SIDES 100
#define RADIUS 100

#define UNDEFINED -1

#endif
